
function init_admin_contros() {
    
    $(".edit").click(function() {
          
        var account_id = $(this).parent().parent().attr("id").replace("account_", "");
        alert(account_id);
    });
    
    $(".del").click(function() {
    
        if (confirm("Are you sure you want to delete this account?") == 0) {
        
        } else {

            var account_id = $(this).parent().parent().attr("id").replace("account_", "");
            alert(account_id);
        }
    });

}

$(document).ready(init_admin_contros);